//
//  IndicatorSettingItem.m
//  zoneSun
//
//  Created by zy-gyl on 16/7/19.
//  Copyright © 2016年 Zeaple. All rights reserved.
//

#import "IndicatorSettingItem.h"

@implementation IndicatorSettingItem

+ (instancetype)indicatorItemWithIcon:(NSString *)icon title:(NSString *)title destVcClass:(Class)destVcClass vcTitle:(NSString*)vcTitle;
{
    IndicatorSettingItem *item = [self settingItemWithIcon:icon     title:title];
    item.destVcClass = destVcClass;
    item.vcTitle = vcTitle;
    return item;
}


+ (instancetype)indicatorItemWithTitle:(NSString *)title destVcClass:(Class)destVcClass vcTitle:(NSString*)vcTitle
{
   return  [self indicatorItemWithIcon:nil title:title destVcClass:destVcClass vcTitle:vcTitle];
}



+ (instancetype)indicatorItemWithTitle:(NSString *)title destVcClass:(Class)destVcClass vcTitle:(NSString*)vcTitle rightTitle:(NSString*)rightTiltle isRightTitle:(BOOL)isTitle{
    IndicatorSettingItem *item = [self indicatorItemWithIcon:nil title:title destVcClass:destVcClass vcTitle:vcTitle];
    item.rightTitle = rightTiltle;
    item.isRightTiltle = isTitle;
    return item;

}

+ (instancetype)indicatorItemWithTitle:(NSString *)title destVcClass:(Class)destVcClass vcTitle:(NSString*)vcTitle rightImage:(NSString*)iamgeName{
    IndicatorSettingItem *item = [self indicatorItemWithIcon:nil title:title destVcClass:destVcClass vcTitle:vcTitle];
    item.smallImageName = iamgeName;
    return item;
}
//注意这里小圆点是写死的
+ (instancetype)indicatorItemWithTitle:(NSString *)title destVcClass:(Class)destVcClass vcTitle:(NSString*)vcTitle rightImage:(NSString*)iamgeName   isShowRedCycle:(BOOL)isShowRedCycle{
    IndicatorSettingItem *item = [self indicatorItemWithIcon:@"icon_yuangongguanli" title:title destVcClass:destVcClass vcTitle:vcTitle];
    item.smallImageName = iamgeName;
    item.isShowRedCycle = isShowRedCycle;    return item;
}

@end
